package xyz.riceball.develop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.riceball.develop.entity.po.InoutParamPO;
import xyz.riceball.framework.core.bean.ApiR;
import xyz.riceball.framework.core.bean.ApiRc;

import java.util.List;


/**
 * 输入输出参数 Service接口层
 *
 * @author xiaovcloud
 * @since 2022-07-02 10:58:37
 */
public interface InoutParamService extends IService<InoutParamPO> {

    /**
     * 根据条件查询所有的输入输出条件
     *
     * @param inoutParamPO
     * @return
     */
    List<InoutParamPO> selectAll(InoutParamPO inoutParamPO);

    /**
     * 新增输入输出条件
     *
     * @param inoutParamPO
     * @return
     */
    ApiR<InoutParamPO> add(InoutParamPO inoutParamPO);

    /**
     * 修改输入输出条件
     *
     * @param inoutParamPO
     * @return
     */
    boolean edit(InoutParamPO inoutParamPO);

    /**
     * 删除输入输出条件
     *
     * @param ids
     * @return
     */
    ApiRc<Void> delete(List<String> ids);

}

